FROM golang:latest
MAINTAINER sanxing

ADD _output/oj-center /home/center/oj-center
ADD config/app.ini /home/center/app.ini
ADD docs /home/center/docs
WORKDIR /home/center
RUN mkdir -p  /home/center/logs
RUN touch logs/oj-center.log
CMD tail -f logs/oj-center.log
EXPOSE 8091